package com.gin.supermarket_inventory_system.commodity.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gin.database.config.redis.RedisMybatisCache;
import com.gin.supermarket_inventory_system.commodity.entity.CommodityTypePo;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;

/**
 *
 * @since : 2023/10/9 14:15
 * @author : ginstone
 * @version : v1.0.0
 **/
@Mapper
@CacheNamespace(flushInterval = 5L * 60 * 1000, implementation = RedisMybatisCache.class)
public interface CommodityTypePoDao extends BaseMapper<CommodityTypePo> {
}